<?php
use think\Route;
//Api路由
Route::get('',function(){ 
    return '提示：请安规范请求API！';
});
//请求得到参数
Route::any([
    'regisSendMail' => 'home/Register/regisSendMail', //第一步登陆接口
    'toAuth' => 'home/index/index',  //授权准备
    'wechCode' => 'home/Login/wech_code',//微信登陆组合地址
    'wechRedirect'=> 'home/Login/wechat_redirect',//微信登陆回调地址
    'userLogin'=>'home/Login/login',//用户邮箱登陆
    'regisActivation' => 'home/Register/regisActivation',//邮件发送点击注册
    'qcode' => 'home/Register/qcode',//获取二维码接口
    'chickAuthorization'=> 'home/Register/chickAuthorization',//检测是否关注公众号
    'loginOut' => 'home/Login/loginOut',//退出登录
    'authorization/code' => 'home/index/authorization_code',//授权回掉地址

    //董  后端1
    'regisToken'=> 'home/Register/getToken',//微信请求入口  勿动
    'prolist'=> 'home/Minipro/index',


    //医生
    'doctor/list' => 'home/doctor/list', //医生列表
    'doctor/info' => 'home/doctor/info', //医生详情  用户修改
    'doctor/update' => 'home/doctor/update', //医生详情  用户修改保存
    'doctor/add' => 'home/doctor/add', //添加医生
    'doctor/del' => 'home/doctor/del', //删除医生
    'attachment/upload' => 'home/doctor/upload', //上传图片
    //就诊地点
    'visit/list' => 'home/doctor/visit', //就诊地点列表
    'visit/info' => 'home/doctor/visit_info', //就诊地点详情
    'visit/add' => 'home/doctor/visit_add', //就诊地点添加
    'visit/update' => 'home/doctor/visit_update', //就诊地点修改
    'visit/del' => 'home/doctor/visit_del', //就诊地点删除
    //医生助手
    'helper/list' => 'home/doctor/helper_list', //助手列表 无查询功能 针对一个医生
    'helper/lists' => 'home/doctor/helper_listtwo', //助手列表 有查询功能 针对多个医生
    'helper/info' => 'home/doctor/helper_info', //助手详情
    'helper/del' => 'home/doctor/helper_del', //助手删除
    'helper/update' => 'home/doctor/helper_update', //助手删除
    'helper/add' => 'home/doctor/helper_add', //助手添加
    //医生服务
    'server/list' => 'home/doctor/server_list', //医生服务列表
    'server/info' => 'home/doctor/server_info', //医生服务详情
    'server/update' => 'home/doctor/server_update', //医生服务更新
    //首页设置
    'base/setting' => 'home/doctor/base_info', //首页设置
    'base/update' => 'home/doctor/base_update', //首页设置更新
    'base/doctor' => 'home/doctor/base_doctor', //名医列表
    'silde/upload' => 'home/doctor/slide_upload', //轮播上传
    //微信支付设置
    'pay/info' => 'home/doctor/pay_info', //支付资料拉取
    'pay/update' => 'home/doctor/pay_update', //支付资料更新
    'pay/upload' => 'home/doctor/upload', //证书上传
    //医院
    'hospital/info' => 'home/doctor/hospital_info', //医院详情
    'hospital/update' => 'home/doctor/hospital_update', //医院数据更新
    'hospital/upload' => 'home/doctor/hospital_upload', //上传logo
    'hospital/info_upload' => 'home/doctor/hospital_info_upload', //上传图文
    //客服
    'kefu/list' => 'home/doctor/kefu_list', //客服列表
    'kefu/add' => 'home/doctor/kefu_add', //客服添加
    'kefu/info' => 'home/doctor/kefu_info', //客服详情
    'kefu/update' => 'home/doctor/kefu_update', //客服更新
    'kefu/del' => 'home/doctor/kefu_del', //医院删除
    //门诊部
    'poi/list' => 'home/doctor/poi_list', //门诊部列表
    'poi/add' => 'home/doctor/poi_add', //门诊部添加
    'poi/del' => 'home/doctor/poi_del', //门诊部删除
    'poi/info' => 'home/doctor/poi_info', //门诊部详情
    'poi/update' => 'home/doctor/poi_update', //门诊部更新
    //科室
    'office/list' => 'home/doctor/office_list', //科室列表
    'office/info' => 'home/doctor/office_info', //科室详情
    'office/del' => 'home/doctor/office_del', //科室删除
    'office/add' => 'home/doctor/office_add', //科室添加
    'office/update' => 'home/doctor/office_update', //科室更新

    //医生服务
    'server/indagation/list' => 'home/api/indagation',//预约诊查列表
    'server/escort/list' => 'home/api/escort',//陪诊服务列表
    'server/fixed/duty' => 'home/api/get_fixed_duty',//固定预约诊查值班数据
    'server/adjust/duty' => 'home/api/get_adjust_duty',//固定陪诊服务值班数据
    'server/fixed/update' => 'home/api/update_fixed_duty',//添加更新固定预约诊查值班数据
    'server/adjust/update' => 'home/api/update_adjust_duty',//添加更新固定陪诊服务值班数据

    //医生聊天数据
    'liaotian/list' => 'home/messige/list', //聊天数据
    'liaotian/upload' => 'home/messige/megimg', //聊天图片上传
    'liaotian/doctor/huifu' => 'home/messige/huifu1', //医生回复
    'liaotian/helper/huifu' => 'home/messige/huifu2', //助手回复
    'liaotian/user/huifu' => 'home/messige/huifu3', //用户回复



    'test' => 'home/api/duty_list',




    //模版 新增 小程序列表 模版添加
    'template/list' => 'home/Template/template',//获取模板数据
    'wechXcx/add' => 'home/Template/addWechXcx',//新增小程序 
    'wechXcx/list' => 'home/Template/wechXcxlist',//小程序列表
    'getUserinfo' => 'home/Template/getUserinfo',//获取用户头像昵称5
    'version/info' => 'home/index/getVersionDesc',//获取小程序版本号
    'getXcx/qrcode' => 'home/index/getXcxQrcode',//获取小程序体验二维码
    'memberauth/list'=> 'home/index/getXcxMemberauth',//获取体验者列表
    'mberauth/add' => 'home/index/MberauthAdd',//新增体验者
    'memberauth/del'=> 'home/index/mberauthDle',//体验者删除
    'setup/rpass'=>'home/setup/rpass',//修改密码接口
    
]);

Route::delete([
    
]);

Route::get([

]); 

Route::post([
    
]);

Route::put([
    
]);